fix item addition with oldest-first sort order

should finally fix #17 unless there are other inconsistent modifications
remove -moz-box from text containers

Firefox doesn't respect it (wraps contents in a box)
use event.defaultPrevented available since Fx6
move the function out for strict mode compliance