New worker_threads test code; clean up of html5canvas / mapConfig.js to use javascript literals