couple of fixes, lost jquery dependency