hw3 js