[minor] Style changes s/if(/if (/, s/function(/function (/, s/){/) {/