bug fix:
- joystick doesn't draw at some cases

changes:
- added a log handler (log.js)

cosmetics:
- prettier joystick drawing