Fixes rendering of _js_header.js. Closes #241.
Merge branch 'master' into init-map