Boillerplate for thorax applications using requirejs