standardize js on all pages