Create datespan.js

Date span selection & editing and checking