Add javascript, change file structure, update content