s/bootstrap/js/bootstrap.min.js"
        th:src="@{/assets/bootstrap/js/bootstrap.min.js}"></script>
<script th:src="@{/assets/localforage.min.js}" src="../static/assets/localforage.min.js"></script>
<script th:src="@{/assets/sweetalert2/sweetalert2.all.min.js}"
        src="../static/assets/sweetalert2/sweetalert2.all.min.js"></script>
<script th:inline="javascript">
    /*<![CDATA[*/

    $(document).ready(function () {
        $("form").submit(function(e){
               if (!$("#oldPassword").val() || !