initial commit of new javascrip file