javascript dom and events homework done