Port to HTML5 Mobile boilerplate