A short javascript function to estimate the read time for articles