added caching vars to custom js, and anchorlink padding