send js assets to webgl page