JS onReady Fix