Cleaning up extra spaces and comments. Adjusting code to try adn get browser to work