Added support of js bind function for non ES5