Simplify code for 'Edit in JS Bin' button