Fix #671: Add corejslib to html files using packaged JS