Problem with Random Code Machine

My Random Quote Machine was working fine apart from I had trouble of open the twitter message box in order to tweet quotes. Now all the code stopped working together. Please help! Here is my url : https://codepen.io/Alimama/pen/ddyZMO
Thanks!

Thank you very very much!