fixed webassets loading mechanism