* added helper for snippet widgets js lib