added some JS to get customization working