tasks.js: get rid of var
tasks.js: remove bad code
restore missing migration: rejected_at_to_record
Merge pull request #9 from viebel/yehonathan

Yehonathan