Added a grid driver creation for js api