[js] changes for compressed files and bugfix in menu

all external libaries are served as compressed versions from
separate js-files while in production. for development
all js libaries are compressed into one file.