Init js runtime