Hi @jayv25585659
You can orerlay the component on your code base by using sling:resourceSuperType and then update the script as required in your proxy component.
/apps/yourproject/components/content/twitter-feed - on this node add the sling:resourceSuperType with "acs-commons/components/content/twitter-feed"
Then add the twitter-feed.jsp under your proxy component i.e. here /apps/yourproject/components/content/twitter-feed/twitter-feed.jsp and update the code. No need to add any dialogs or other nodes. just the parent node and the .jsp file should be enough.

Thanks!