JS: builddom