fix bugs related to pushState
use localStorage to store collocation results in order to avoid a full reload
split javascript function into separate files, plus minor fixes
more splitting up of javascript functions
Merge pull request #96 from clovis/master

Use sessionStorage for collocations, modularize javascript code