added submit and delete functions links to js file