Revert "Fix js error when viewing on desktop."

This reverts commit 02d13dc2ba2e9261b31bf62c7ff3607562ced08b.