cleanup javascript a bit
Merge branch 'develop' of github.com:harvard-lil/linky into develop