added some testing code for ember.js... not yet working