Fixed html structure, use direct links for JS files.