fix lastfm & soundcloud & flickr pure js code