added gxp source; fixed the build script
added loader js to index.html