Fix various typos, js MIME type, thanks to @fbonzon, fixes #296