Add doc and lint js