add missing semicolon
rm "var" for variable that's already defined (from parameters)
rm errant semicolon
use dot notation when possible
Merge pull request #487 from Trott/refactor-ilios.cim.js

Refactor ilios.cim.js