lab 5 js