#378 Optimize and refactor JQuery

Create variables for jQuery objects instead of searching the DOM tree over and over again for the same DOM Element.
Get objects by classname from subtree elements selected by ID instead from root Document.
This is a new syntax old browsers don't support it AFAIK