Update metisMenu.js

Updating setup method for better usage
added missing curly braces
Merge branch 'AndrewEastwood-patch-1' into v1.1.1