Remove inline javascript from potlatch view