hw5.js