upgrade js note