Big JS throw if db variable is not set
Made last function parameter default to empty function, cloned 'body' in API function so that it's not changed by destructive _make functions
Version push