found bug in remaining method. Changed js path names.