modify js file for jarvis