history popup layout done.
introduced a src folder for js files and split main js file into separate ones.
History selection now works.
History is now stored in localStorage.  Also added time formatting.
Added history to screenshot and documentation