Adding debug js