Ex3 - 5 updated javascripts