fix a typo of js file