create base js

create base js