removing deprecated javascript-based form insertion code