Project modularized using requireJS