changes to get ujs working