fixed opt-out js code

Change-Id: Ibcb931b20dc36573d74beb24ec576df177f21d6f
Signed-off-by: Alexander Wert <alexander.wert@sap.com>