Moving Code arround

Accidently merged multiple commits into one.
This contains:
moving the script imports to the <head> (this fixes, that the specialframes diff is unpopulated)
wrapping most initialisation code in $(document).ready() blocks. (So it can be included in the head-section)
Extracting lastseen-Stuff from scroll1190.js