build js + client