Manage JavaScript inside HTML. See
https://github.com/angelozerr/tern.java/issues/102