Corrected adding js twice