Allow script to be places more generally. Fix #124
even more general script detection
Merge pull request #127 from freedomjs/generalizedscriptplacement

Allow script to be placed more generally.