Update browser.js

changed url[0] to url.charAt(0), because IE7 not support to get the first char of a string like this:  string[0];
Merge pull request #212 from luozhihua/master

Update browser.js