js performance enhanced