Update startpageFunctions.js

edit form