'switch' is a reserved keyword in ie8

'switch' is a reserved keyword in Internet Explorer 8, example project with the fix applied: http://ajmm.org/phpmd/