simple javascript on session#new