Added archive page and function.
Moved JavaScript, tabs are in their own file now.