Recompile javascript