Updated Functionality:
	added dependency action

Improved JS: It now triggers an event on inputs when their visibility is changed.