Removing some JSLint warnings
Removing some JSLint warnings
Removing some JSLint warnings and obsolete code