Updated active admin javascript