Fix issue update js
Merge pull request #5934 from dblessing/fix/issue_update_js

Fix issue update js