Fix for issue #1 - Enable the offline web app to work in subfolders.