Getting Started: js style fix for functions