I think we have already set its default value in init() funtion.
Besides, does screen.availHeight/Width could work in B2G desktop?