Completed initial parts of ex_4
Completed final javascript exercise with extra features