added ajax calls to instagram api, added api media_popular wrapper