fix build of js application