Update regarding invisible elements and modifications to js