friend.js jquery.attr('class', '') was called twice which caused one of the classes not added - FIXED. main.js in my routes tab, when selecting all routes, route id was accessed through 'data-routeId' which was wrong, instead it should be 'data-rId - FIXED