added jquery.
integrated javascript into index