Added redirec_to index js from controller