docs for window functions (i.e alert() )