remove unnecessary js require
set correct datatype for sendAt