This is what cargo culting looks like: https://github.com/jwagner/smartcrop.js/blob/master/smartcro... it takes a callback "just for good measure" but is a completely synchronous library.
With that said, this should have been documented more clearly.