Named arguments in JavaScript