+ added define() shim
+ updated index test page to load in libraries correctly