Fix/1682/preprocessor template

This will close #1682 

Currently this works for landing on jsbin.com, but not when clicking the new button.

- [x] Ready to merge
as in, in this part of the if? or the JSON.parse should be done elsewhere?