fixed js script injection
Merge pull request #99 from jackfengibm/js_injection_s5980

fixed js script injection bug