for the date picker, you are using your own jQuery files which are not compatible with the date picker:
<script type="text/javascript" src="../webassist/jquery/jquery.js"></script>
<script type="text/javascript" src="../webassist/jquery/jquery-ui.js"></script>
I changed that to use the google hosted versions:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
</script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"></script>
to fix the problem.
for the redirect, you had blank space in the connection file which was causing an error.