improve regex for js-files matching (.js.map files and .js/... should be ignored)