Removed console references from js files