adding js extension