changed inclusion of css and js; made sure not to include duplicate resources