decoupled css and js from index