JS Compile TypeError: __str__ returned non-string (type NoneType)

Hi Nicola, yes this hack fixed the issue for me. Hopefully sorted in the new release.