Improved javascript libraries a bit.