fixed js for subfeed current directory