refactor: remove div from php and add  div with javascript

add div  class add_input with in script.js
remove p margin