Fix Safari exec error

This is the weirdest issue I have encountered, but direct assignment isn't working in quick succession (executing a full notebook). Using `Object.defineProperty` is a valid workaround, but I would love to get to the bottom of issue and find the affected platforms (Safari 7.0 for me). Closes #251.