Fixes #7 - functional jquery mobile