Clean code - Used jQuery instead of pure javascript.