Add generated javascript