Fix repository field with .js extension