company view changed and old javascript delete