removed use of ECMA5 bind(), caused errors in earlier browsers.