separated Instagram JS from main