Which line of JavaScript will prevent the page from refreshing after a web form has been submitted?

getDocumentById
window.alert()
lock.screen()
return (false)

return (false)