remove trailing javascript from naked+status