JavaScript: Private parameters