refactor change_input function create labelsComponent function

add data-first -text attribute  to input tag whit firstText variable as
value.  get the variable firstTest value to replace the new text whit
first text. Create labelsComponent  function that contains al the
function and move the function before $( document).ready()