Switch to sending data down via JS