                 let error: NSError? = nil
                 let json: AnyObject? = NSJSONSerialization.JSONObjectWithData(body.dataUsingEncoding(NSUTF8StringEncoding)!, options: NSJSONReadingOptions.AllowFragments, error: nil)
                 
-                let playlist = Playlist(json: JSON(json!))
-                if playlist.tracks.count > 0 {
-                    self.playlist = playlist
+                let p = Playlist(json: JSON(json!))
+                if p.tracks.count > 0 {
+                    playlist = p
                     let appDelegate = UIApplication.sharedApplication().delegate as! AppDelegate
-                    appDelegate.selectedPlaylist = self.playlist!
+                    appDelegate.selectedPlaylist = p
                     appDelegate.miniPlayerViewController?.playlistTableViewController.updateNavbar()
                     appDelegate.miniPlayerViewController?.playlistTableViewController.tableView.reloadData()
                 }


    override func viewDidLoad() {
        super.viewDidLoad()
        self.webView = createWebView()
        self.webView!.setTranslatesAutoresizingMaskIntoConstraints(false)
        self.view.insertSubview(self.webView!, atIndex:0)
        self.view.addConstraints([
            NSLayoutConstraint(item: self.webView!,
                attribute: NSLayoutAttribute.Width,
                relatedBy: NSLayoutRelation.Equal,
                toItem: self.view,
                attribute: NSLayoutAttribute.Width,
                multiplier: 1.0,
                constant: 0),
            NSLayoutConstraint(item: self.webView!,
                attribute: NSLayoutAttribute.Height,
                relatedBy: NSLayoutRelation.Equal,
                toItem: self.view,
                attribute: NSLayoutAttribute.Height,
                multiplier: 1.0,
                constant: 0)
            ])
        
        self.webView!.allowsBackForwardNavigationGestures = true
        playlistButton        = UIBarButtonItem(image: UIImage(named: "playlist"),
                                                style: UIBarButtonItemStyle.Plain,
                                               target: self,

                                                   favEntryButton!,
                                                   historyForwardButton!,
                                                   historyBackButton!]
        HUD = MBProgressHUD.createCompletedHUD(view)
        navigationController?.view.addSubview(HUD)

        if let url = entry.url {
