     @init = (rootPath) =>
       @options = $.extend {}, $.pseudositer.defaultOptions, options
 
-      # the root
-      @rootPath = rootPath
+      # Assign the root, ensure that it ends in '/'
+      @rootPath = if rootPath.charAt( rootPath.length - 1 ) is '/' then rootPath else "#{rootPath}/"
 
       # Create loading div if one doesn't already exist,
       # and keep reference to the div.


  # Obtain the file type suffix (after a period)
  #
  # @param fileName the String name of the file
  #
  # @return {String} the suffix, or null if there is none.
  getSuffix = ( fileName ) ->
    split = fileName.split '.'

    if split.length > 1
      split[ split.length - 1 ]
    else
      null


  # Obtain the paths leading up to and including the path of the provided
  # url.  For example:
  #
  # getTrails( "http://www.site.com/path/to/my/file.txt" ) ->
  #  ["/", "/path/to/", "/path/to/my/", "/path/to/my/file.txt"]
  #
  # getTrails( "http://www.site.com/path/to/my/#fragment" ) ->
  #  ["/", "/path/to/", "/path/to/my/", "/path/to/my/"]
  #
  # if the last element of the returned array does not end with a '/', then
