Misc tweaks
Recompile js for pi