updated js libraries, fixed what broke