copied from Master branch

Sqlite3 branch has an old copy of script.js while the Master branch had
been updated. This commit is a direct copy of the current Master branch
version of script.js