Oauth weckel

Moved jquery calls in to view.