Update app/views/layouts/application.html.erb

Move social js code inclusion