How to practice js