added problem 1 js file