selector styles template with javascript - A New Way To Deal With Template