Polyfill for Function.bind

This fixes #26.