Removed JError statements and set enqueueErrors