precalculate drag limits
remove unnecessary import
fix link
tidy up the code
fix underscore dependency
use underscore template for share html