Add viewport tag to head with jQuery
//useful for jsfiddle $('head').append('<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />');