Update WebCalculator.js

add in a check for q set to 4 so that we can change the size of e and change the display