Stupid EU legal compliance in one (long) line of JavaScript