original js files at init state, new file with amd wrapper in main directory