Dont append .js to path more than once

I am working on a slimrb preprocessor and the repeated appending of .js was causing some issues.