fix asset urls used for js

insert pageflow prefix to use assets from engine.