fixed problem when designer throws exception if view json file has no scripts defined