moved twitter script to main.js