refactored to fit dojo AMD naming scheme