Switch to vanilla JS