grid js model