extracted create buttons into separated js WIP