Standardize use of JPATH constants to JPATH_ROOT