make css and js work after moving data around