Switch spectate and level view to use transpiled code