add jquery mobile theme, setup socket connection