robot javascript test