updating compiled javascript