started rewriting\recomposing js