refresh with fixed paths to requirejs

plus some fixes to JS that contains paths