regenerate javascript files