Use a preg_replace for the menu classing. Fixes #56