Added bower file and changed how contextmenu closes