read javascript best practice part 1