JavaScript: apply() ~> Functions