frontend - Remove dead code

jshint complained about that.
Merge pull request #7 from bebraw/deadcode

frontend - Remove dead code