javascript Codes