Making the lateralmenu conform the requirejs