[js_auth_client_browser_test] tests improved to run correctly using "grunt test" command

There was a bug: browser tests did not run with 'grunt'. Problem is resolved.
As far I could see the test I am not able to see the usage of ```bind```. Could you provide me the link as to where it is used? Why write a shim if there are alternatives to ```bind``` implementations? Any specific reason?