Add index and jquery
Fix error