more progress

The story kinda stinks on this one but it is fun playing with
javascript getting it to do stuff! Adding the arrays was tricky but
docs can help