add schema to remote js call