Updated jquery, script, some slight restructuring.