Update libraries/cms.php to take advantage of new functionality when registering a lookup path for the J prefix

Signed-off-by: Don Gilbert <don@electriceasel.com>