Minor code cleanup in roboticon.js
Accept duration as optional second var for parse json
Minor fix: end special chars with semicolon