Update visu.js

check for not defined config item instead of throwing js error