Update script.js

changed 'and' to 'ir'