Removing Ids and duplicating the navigation for better testing.
Various changes

- Add helper function forEachEl which run a callback on each module.el
- Jshint fixes
- Moving variable declaration to begining of function