base: cleaned up how deps work
base: don't set 'hasjavascript' class on <html>.  should be done in HTML document
base: remove dummy cfg value
base: additional alias for console.log helper, clog
base: call onload function main, don't attach to global scope