js insertion