Update index.php

Added regex to match spaces,semicolon,script-type(type="text/javascript") attributes.
Update index.php

Useragent header starts with browser name and may contain other details like browser platform, operating system. Added regex to see if Useragent "starts" with required browser name.
Merge pull request #50 from Bhanudev/patch-4

Update index.php
Merge pull request #49 from Bhanudev/patch-3

Update index.php
Merge pull request #48 from pchaigno/next

Status of challenge 1 is updated only if the form has been submitted