rebuild JS