Update data/mods/js/lib/robot.js

 fix js lib robot.js look function always return unkonwn value bug.