modified rosjs