package.json
adding function to crate widget