Location Fixed and Better JS Structure

The location bug has been fixed, there is a much better JavaScript
structure, a basic "LoadInNextPage" has been added.