** IN PROGRESS ** Fixing replace to setting location.hash