remove old javascript code from jade file