Made addComponents optionally take multiple parameters.  Got Entity.js to pass jslint.