finishing off the student js