Kiran | Fixed errors based on JSHint.