added a reference to jquery
closed the final <script> tag