Reload js properly.