Add JS redirection to avoid creating folders every time