Removed async from Javascript