Drawing - missing semicolons
Popup - add 'parent' options to override DOM parent default element M.$mcontainer