switched instagram.js to correct if statement