Consistent JavaScript style