added JS Best Practice