Changing cursor to waiting in javascript

This morning I couldn't remember this snippet of code for this so I went all Google on it only to be hit with a ton of complicated JQuery + CSS methods. Thats currently problem at the moment with going to http://stackoverflow.com/ for Js solutions, everyone suggests a library over the fast, lightweight, and cross-platform framework that is Vanilla JS.

So for my future reference and to show that you don't need a library for every request

<script>  
// Cursor = waiting
document.body.style.cursor  = 'wait';  
// Cursor = back to how it was
document.body.style.cursor  = default';  
</script>