Moved this code segment out of robin.js. Currently to test, created a robinTest.js, calling robin.js. Will create a script to initiate robin.