support for js/sh state grid