Fixed a bug with jquery

Other than that not much progress... Currently running tests with other
files just to see if I can things to work at all.