adds javascript specs