remove shared javascript from the filing-specific template