add js logic for ember models