compiled javascript fix