[Issue #91] fix throw and allow JSScreenWrapper