Named arguments for JavaScript functions