Ignoring generated javascript