Removing rich js