Added ng-if for when mode is javascript to only display Run button and output window