Add precompilation of external javascript to production environment