Update Java Homework.js