Create compiled javascript