added check if Jasminerice is defined in initializer template