Moved a lot of element creation out of client.js and into index.html :P