Update helpers.js

Added support for the bind() function.