dir cleanup on frontend
hack to send jsonp. stupid.
frontend hardcoding gone.

wrap up a bunch of json as a string inside a function so we can return
it as a jsonp to bypass CORS bullshit. Also, gets rid of about 300 lines
of hardcoding. a few javashit functions help to clean it up.
prototype css.