fixing \Could not find a JavaScript runtime\ error