moving indefinite.js to lib