Example of js after form submission