forgot to minify. minified version included now
stripped out callback because it's not necessary, as everything is synchronous. was initially added when I thought I could make it asynchronous, but I realize now it's not necessary :)