updated index.js and oauth.js

Also added css files