Feel free to change it. The rest of the code in the component uses JError also, that is why I kept it, so there is no mix of them.