Update assignment4.js

added var in front of a few variable declarations. changed the array named operands to OPERATORS to signify their constant value

please test to make sure i didnt just destroy the code