As described by others yes... you need to set the showUpload and showRemove properties. You can use HTML 5 data attributes to initialize this as shown in third example on the basic usage section of the demo site - OR - you can directly use javascript to initialize as you have done.
However do not do both. The issue is you have the markup <input id="myName" type="file" name="myName" class="file" /> which has a class = file, which means the plugin will automatically intialize the plugin which is resulting in your JS init code not being processed.
Note that as highlighted in document and in the first example on basic usage the plugin automatically initializes the file input plugin if you have input type = file and class = file.
So you must just do the following if you are using javascript to initialize. First remove the class = file from your markup:
<input id="myName" type="file" name="myName"/>
Next initialize the plugin (typically on document ready) and it should work.
$(document).on('ready', function() {
$("#myName").fileinput({ showUpload: false, showRemove: false });
});