Change `fnBind` to a normal lib function instead of a polyfill

Removing Function.bind unit test

Removing unneded global declaration

Removing debug statements