Tweak and recompile JS