this adds javascript by trub + koch