Update Javascript for Lab5Basic.js