can you make this model bound instead of DOM dependent?