adds js for max 767