remove old comments and old functions

from container.js
Linting fixes