Inline small JS for performance