URL hash-based theme switching

I wanted to be able to deep link to themes on the web preview. I added the JS shim to support IE < 8.