add generated js