add wsdoc option + better handling of jquery mobile