Regenerate javascript from sources