-Refactored lots of javascript
-Added console and statusbar