add js, css code implemtnts from official sample.