adjustments to build and javascript