[cutes] scriptClass can be null

Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jollamobile.com>