add activeadmin adding js logic blog