allow examples/basic.js to be accessed via global namespace if not using common js