Javascript 'String Reporter' - exercise - Week2 - Refactoru