Fix js in lab4