Update script.js

changed print at line 4 to console.log