feat(subgun): allow subscription from javascript