Zui not Found unless Debug Console is ticked in Build Settings?

This seems to be an error in Browser / Krom builds, haven’t check others. Anyone else getting this? Testing in Armory 0.4b / Blender 2.79 Mac build. Tick box Debug Console and problem goes away.

I also noticed some JS packages missing from Armory’s api / doc too. One quick example is js.html.rtc etc. Although I see some of the lib folders physically there so a work around is to add the project folder in the khafile.

In Modules changing Zui from default Auto to Enabled fixed my issue.