zsh
port all by layouts to js