jquery is lovely, but we really don't need an elaborate library for this thing, do we?
we like to do it natively
thanks to @ngs