generate code functionality

should have committed intermediary changes a while ago.
-fetches base via ajax, goes through var styles to add other styles on
-puts in a pre in a lightbox, opens lightbox
-has prettify.js!
-lightbox doesn't close yet.
lightbox now works. ZeroClipboard doesn't. The button looks bad.