params.js has var set to function call