js for devise