Migration and rewrite to version 1.4 (rc1) of jQuery mobile framework