init doggy js