move twitter js to the layout

This fixes broken "follow" button on the show page