updated script.js in Sqlite3 branch

This is a direct copy of the current version of script.js from the Master branch, which had already been updated.