modify js stategrid sql