adding amd / requirejs support, 0.0.2