Emiitting JS Objects