Updated build scripts to get JS compilation order from the package.json file instead of the build script itself
Updated build scripts