sorted app js for nav offcanvas IE < 9