Use correct icon/name when adding a new block

When adding a new block to the pag, use the correct icon/name instead of the generic "Content".

Bonus: some minor fixes (now jshint runs without warnings on edit_mode.js)