Create robot.js

Creating main javascript robot file.