Update script.js

Added additional notes ternary.