First shot at shooting stuff over to jsfiddle

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