solved JavaScript - 1 April 2013 - Morning task1