Load .js files instead of .* files if equivalent exists

for example I have example.coffee file and compiled version example.js
so I obviously prefer to server compiled version