added compare build field and separated JS files