fix https://github.com/buildingfirefoxos/Building-Blocks/issues/34

Tested with Firefox OS simulator without problem.