To not load YUI module again if it has been loaded by --lib, and fix JSLint errors