tweaks to prevent JS errors on simplestacked bars