Pseudo for Java script solo challenge
completed 1st JS solochallenge. Passing tests