update prototype js