use gem attachment
start attachinary when document ready