simplify codemirror refresh event name
replace e.target.hash w/ $(e.target).attr('href')