updated hw2-core js