JRM fix crash when passed in file didn't end with .js or .coffee