updated base gui, moved java script to bottom of page for faster rendering