JavaScript: Mark the asset dirty after folding a constant.