Eliminated JSLint errors and improved ranking