Moved script to page div

closed login()'s brace
Merge branch 'Logins_Facebook'