JS error for excludeJade=false mode is fixed