JS assignment 1