Added actual saving ability to saveBuild in JavascriptInterface