Fix sequence of scripts in karma.conf.js