html5 drag and drop example, new asset, some helper functions in the document