Warning preventing duplicate trex javascript loading