Using underscore for flattening the styles on the client side