Keep compiled js up to date

Noticed the compiled js was broken. Just needed recompiling.

Quick change to package.json to compile on publish?

Thanks for lib.