responsive styles via js for svg/canvas charts