Moved toLowerCase after the if statement
Moved toLowerCase after the if statement

This fixes a crash if the properties are not available.
Acaki/WWW_project,yupaul/phaser-ce,MasahiroWard/MVPgamedev,natlot/phaser-ce,Acaki/WWW_project,MasahiroWard/MVPgamedev,yupaul/phaser-ce,natlot/phaser-ce,natlot/phaser-ce,adamlabadorf/bobodyssey,adamlabadorf/bobodyssey,photonstorm/phaser-ce,photonstorm/phaser-ce,photonstorm/phaser-ce,MasahiroWard/MVPgamedev,natlot/phaser-ce,photonstorm/phaser-ce,MasahiroWard/MVPgamedev,yupaul/phaser-ce,yupaul/phaser-ce,adamlabadorf/bobodyssey,Acaki/WWW_project