prevent elements not displaying in case javascript is disabled

Signed-off-by: Luca Degasperi <me@lucadegasperi.com>