changes to enable html and app.js in subdirectories