componentize js