webserver serves resources inside bundle resourcesDirectory, given proper parameters. inotify-based cache used to avoid too much bundle parsing
adjusting js accordinly after html attributes refactor