Update yld.js

Fixing module detection bug