javascript - small code cleaning