First shot at shooting stuff over to jsfiddle

* [x] remove or restyle control when user isn't logged in
* [x] clean up and separate html & js so that jsfiddle doesn't complain