JavaScript Color Transferral