JS Hint done
replaced all 'for in' statements by native Array.forEach() iterator