context.js: fixed bug in params