adding js for name