fix standalone web does not render search preview box due to wrong json struct

fixes #1912
enhance nodejs renderer exception output a bit