update folder structure and minify js