CMS-2551 Executing of javascript in services endpoint. Error message for compile errors.