Added index and js