Cleaned up a lot, got all javascript out of the html page and started work for storing options