Add javascript-workaround for selecting hidden elements