Blog post: how to create an AMD module