Prevent js error on triple click outside of editable
Improve/fix building