Fixed to let JQGrid works and all other JS frameworks

The JQuery should be written in the head of the page to let it works