jQuery mobile seems to remove custom classes from buttons

jQuery mobile seems to remove custom classes from buttons

I use input type="submit" and give it a custom class. jQuery mobile creates a fancy button from it but doesn't keep its class which I had given to it. If I use the "<a>" markup its fine.

This is probably the way it works, but it would be nice to "import" the classes of the original <input> element to the new button.