finished task 1 of javascript apprentice