fixed foursquare.js