js modifications and activeadmin changes