Change one remaining attr("value", for val(

Also corrects the comment on top of that function
Merge pull request #3 from sebrojas14/master

Change one remaining attr("value", for val(