follow javascript style.