2-way callbacks working on HTML Elements