consolidated js for < 800 width