make sure subdirectory js triggers reload