Code pass on JSLint and Added Support for Older Browsers