fixed dependencies order
slightly changed requirejs config paths