Added jade support (not used) and automatically closing navmenu. Close #4