split JS into separate file, set max-width on manual