moved js from pmtask on field to pmcake.js