Fixed issue when building vendor js files