linked js to external file, added submit button