mocking the browser execution
function values passed to functions