add ctrlp and js improvement