Start of jQuery and graphical optimizations