passing data into edit form
tweaking html and adding more functionality to the js