I think your problem might be here:
The application has been only tested locally (i.e. just open the html file with Chrome).
When you're running on the file:/// protocol you don't get the same privileges as with http/s:///
I would try running it through a web server if I were you.