Added engine option to support working with slimejs too