for some reason django inserts a newline before "  ');  ", so try double quotes maybe