remove unused inline javascript