Add context argument in js processor