slowly removing jquery dependacy

Signed-off-by: SAMods <wdm2005@blueyonder.co.uk>