Updated to reflext component/menu changes
Merge pull request #31 from redbadger/menu-fix

Thanks @charypar
More component/dom and component/menu related fixes
Merge pull request #32 from redbadger/dom-menu-fixes

More component/dom and component/menu related fixes
Automatically rewritten for npm.