Html element doesnt update properly

Is there a character limit for the HTML Code Editor? I am trying to use CodeBird so i can use twitters js api so i need to add all of the codebird.js code directly into the html editor. Once i do that and hit update i can click back on it and the code i added is not there.

1.) is there a character or length limit?
2.) is there another way i can use this js code? some way to upload the code to the site and call the code in my html code.

Are you trying to use the wix code ide, under Dev tools, or are you using the HTML element?

The HTML element had a side limit. The workaround is to host an HTML file yourself someplace and link to it from the HTML element (it had the option of code or link to a file)