removed unused templates
using https for ajax