Fixed handling of arguments for showTabBarItems() (JS side)