load yavascripts and stylesheets in standalone mode; add standaloneDebug flag