Button creation is now handled by javaScript. This facilitate the creation of button and reduce coding time.