[JS] switched credential use so reqests overrides clients
[JS] Changed client's credentials to be called default credentials
[JS] Changed ContentType to be string based instead of number based