add bind, unbind method in core.js