Fixes #6103 by adding in relevant CSS and old JS from previous version