[jsmodule] use application/x-javascript to make my browser happy
[json_view] add missing import
[json] compact json string
[python] remove python2 support
[jsmodule] do not preload dynamically generated scripts.