Add the JS for calculating the paragraph and the start end selected charaters
Merge branch 'master' of github.com:SourceNews/source-news