Added tal condition

Added javascript tal condition to not be visible in views of types unselected.