Updating libraries to make it work on modern browsers