Add a configuration file in javascript form
For the worker, load the configuration as a script to avoid async initialisation issues
Add a comment to explain the requirement for a function wrapping the config variable
Merge pull request #245 from Standard8/config_sync_load_worker

Make the worker load the configuration as a script to avoid async initialisation routines
Merge with master