Update ioc.js

minor changes and updates