Refactors stock.jsp, adds comments to each class and cleans up the code. Also add the geolocation thingie