Fixes some "low-hanging fruit" bugs

I didn't re-minify the JS, so please don't forget to minify after you accept the request. Thanks!