changed if to swith and added appands
Merge branch 'master' of https://github.com/itaiag/jsystem-new-html-reporter