Boilerplate for AMD based JS plugin