development js code