[WIP] a couple of improvements to the js, no functional changes at all

window.onload is the same thing as document ready, so that's extra too. I'm just going to remove these extra calls since they don't add anything