Formatted code in main.js
Ignoring keyboard shortcuts if cmd, windows or ctrl key combination is pressed
Updated default symbol to S&P 500
Reset to default time period instead of all when pressing escape
Synchronised url parameters with current state