updats js to escape ruby code correctly when using in html elements
updates naming of value prompt