Added jslint globals. Added offline access and additional scopes options.