Moved device ready function to body
Merge branch 'Logins_Facebook'