Adjusted width limit

Should look into improving readability and efficiency with some well placed global variables and such. The location object is a prime target (location.href -> url, location.pathname -> urlPath. location.search -> urlSearch).