Switch from browser detection using document.all to feature detection
Declare JS variables in timeline.php to avoid automatic globals
Merge pull request #110 from mnoorenberghe/document_all

JS cleanup (replace document.all and declare variables in timeline.php)