Add missing semicolons (strict FTW)
Move results to result
Fix custom error logging

Was setting the wrong property on the error object.
Sourcemap work in progress