added stjs.bind to properly call this::method