Cleanup of iOS JavaScript VM