remove jquery dependency

used getElementsByTagName which has support all the way down to IE 5.5