moving landing custom component template into js file