Added a counter reset!

Click the time to reset to 00. Also: broke the js out into a separate file.