Fix js error caused by Blaine's shit-tier code