added .js to excluded extensions.