Fix foundation form js

modifying jquery.foundation.forms.js to support custom forms that may have special chars in identfiers. (e.g. div id="id.with,special#characters")