Adding jqplot to main.js

Shim jqplot dependancies with query.