Uses ajax to check for file changes and print out the new lines. Mimics tail -f (in a browser)