started work on a oauth js internal document