Have you tried to run your app from a local web server instead of opening the HTML files directly. Use something like http://localhost:8000 instead of file://.
http://localhost:8000
file://