strip .js file extensions to enable loading of .coffee scripts too