api mobile docs: code formatting according to the jQuery guidelines