javascript initialization in central place
configuring color settings and using partial to display color