added new directories, js splitted from html