Minor change in javasrcipt