Update js/PE-prob1.js

fix off by 1 error, doh