integrate with emberjs