support subfolder in ksana.js