Modify example extensions to define AMD module and use shared AMD modules (BugId:68690)