Update couchpotato.js and couchpotato.py
fixed typos in functions