make WP8 device-width hack code fully consistent between docs HTML & docs JS