Update index.php

Added regex to match spaces,semicolon,script-type(type="text/javascript") attributes.
Merge pull request #49 from Bhanudev/patch-3

Update index.php