Cleaning up JS style.