some nasty JS to fix a wordpress plugin. Nasty.