move jsx to separate file