Adding Rdio JS logic