Added submitted-overlay JS functionality, and also animated ellipsis