Added current attribute when editing link from a menu - closes #369

doing it in JS was too risky, however the code allowed to have current being defined when declaring menu. It seemed to be much more cleaner.