Making the active indicator work again. Hardcoding the link for the
preview on installed themes. Removing all the unused JS leftover from
the widgets project.