js ex3 less broken than last time