Adding missing files, fixing syntax error in base.js