Javascript robot cleaner program for intro learning