Fixup pack

* Convert application/javascript into text/javascript
* Support function blabla__pure_unit() JS annotations
* Error on Javascript parse errors