remove .bind and add custom bind to support old browsers