trying to fix js loading issues for snake view.