trying to elimate javascript queueing