a simple way to map css classes to javsacript classes.