[ToBeReviewed] Add some js to ease result insertion