adds exception handler for older api versions of Meteor.bindEnvironment