get rid of underscore and jquery dependencies, fixup tests