Robuster detection on jsduck existence.