trying to fix js lib loading issues again.
reverting some changes.