completed basic form layout and added javascript