simple javascript script to work out words on page and time to read article or content