Convert a desktop site into an mobile web site with JS