Attend action now renders javascript through ajax