Switching webform hook per gabesullice’s suggestion
Drop table if uninstalled
Attach js externally rather than rendering inline