Fix the compiled javascript