*8707* Upgrade JS libs to recent versions

http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8707