basic javascript helpers also available for static pages