max-width none and js tweak