Move bio form code into element