[main] Add JS APIs ,style.css and index.html