Adding indexing, fixing typos.
Improving performance by reducing JQueryMobile calls