Replaced setting value and using javascript for placeholder text to using html placeholder attribute