Added type javascript type inference post