Update ui.js

- added in $id variable to store jQuery id... will probably remove though
- fixed issue with generating random IDs
- changed name of esNodeManager.render to renderAll (function will probably be deprecated)
- changes for esContentGrid
--- tableContent array keeps track of current tiles
--- function now pass in node manager, to relieve reliance on globals
--- impromptu drawTable to demonstrate tile algorithm (not very fancy lol)
- removed esContentTile constructor
- reordered page initialization