Convert from AMD-style module definition to using sugar syntax

No issue per-se, but wanted to update generated code output to using the sugar syntax for readability's sake.