Changes to tranjs to handleall html inputs

Modified the tranjs file to handle all the html input types. The previous error of the last element not getting the correct language translation has been corrected.