application controller changes to get purchases js file showing in production