Removed unused trim method
Added bind polyfill
Merge branch 'master' into gh-pages