segregate css and js in index file