speed optimizations for the browser, should feel much lighter