Question Of Function In Javascript