add to html func for vim
make implement.sh compatible for mac