JS SPA - Directory created