How do I get dragend to work with Require.js. If I enable require.js in my page, I will get dragend is not a function(…) error. I think the problem is caused by the '$' symbol. Thanks