changed file paths to end in .js or .css