Updated to build correct JS file