[ Better ] [ Javascript ] Cách tạo template và phương thức dynamic 2024