Assuming it's not reimplementing func.apply, is it useful enough to put in utils.js?