Fix undefined index warnings littering the logs
Fix error appearing in JavaScript Console
Viewport argument value "device-width;" for key "width" is invalid, and has been ignored. Note that ';' is not a separator in viewport values. The list should be comma-separated.