Updated template and added jquery.