Moved Function.bind backwards compatibility code to WeavePath.js