Started refractoring instagram.js and changed a global var