Well, solved it myself :P
Somehow the jsreport template was messed up. I made another template by copy-paste and got a new shortid, that worked. It might be because copying templates between servers doesn't work.