Remove use of media-queries and size everything in Javascript.