make script execution specific to js
Merge pull request #16 from pennyfx/script-execution-fix

Script tag execution should be more specific to javascript