switched from ajax to ember