why sl_isSmall? JS engine should know the name of this function (will be named ScreenLayout.isSmall).