cleaned up code wrote some comments.
market drop down updates on hashchange