CLC-1572 - Adding #!javascript:alert(1) to the end of the site URL breaks the site completely

https://jira.media.berkeley.edu/jira/browse/CLC-1572