Methods for mapping paths to javascript objects.