tested js1 lab3