Remove errors in js. Call undefined Enterprise