Make js syntax more readable