a little paws in javascript