Adding JS hint, code clean.