JavaScript: Passing parameters to a callback function JavaScript: Passing parameters to a callback function javascript javascript