Added REST API and JS Script for initializeOAUTH