frontend - Remove dead code

jshint complained about that.