adding javascript to handle the creation of a new row. rename value to color_code.