Inspired by Nodejs vm module - Eval the right way in the browser