Adding suggested movies to Couchpotato

So I've been pulling my hair out trying to learn by example with this stuff,, and I can't for the life of me find out why this wont work. I'm really sorry if this is the wrong place to do this, but I don't know how else to show you my changes.  
  
For some reason, nothing works on the Couchpotato page after my changes. Even the parts I didn't touch at all don't work.  
  
Does anyone have a clue what I'm doing wrong?