using requirejs; dir hierarchy configured