Javascript -- Proper method for defining distinct module files

I have been trying, without success, to identify the proper way of defining a JavaScript "module" file. I've looked at many examples, scanned StackOverflow and reviewed very closely the information on the Mozilla Developers Network site. Nothing I have attempted has succeeded for me, and it may not be what I was doing with the files and the calling functions.

For now, I just want to have a clear picture of what a proper module file looks like so that I can put my first YAB API file to bed, and publish it on my GitHub site, then move on to proving other aspect of the API to support the look and feel that I have given a peek at before.

What I have done so far is define my file as follows:

//
//	Various functions to generate grid locations for various fire targetting patterns
//

function getRandomInteger( valMin, valMax ){
	... (snip) ...
	return Math.floor( Math.random() * ( valMax - valMin ) ) + valMin ;
} ;

function firePattern_square( col, row ){
	... (snip) ...
	return targets ; } ;

function firePattern_X( col, row ){
	... (snip) ...
	return targets ; } ;

function firePattern_crossHairs( col, row ){
	... (snip) ...
	return targets ; } ;

function firePattern_diagonalRight( col, row ){
	... (snip) ...
	return targets ; } ;

function firePattern_diagonalLeft( col, row ){
	... (snip) ...
	return targets ; } ;

function firePattern_barsHorizontal( col, row ){
	... (snip) ...
	return targets ; } ;

function firePattern_barsVertical( col, row ){
	... (snip) ...
	return targets ; } ;

function firePattern_onTargRand( col, row ){
	... (snip) ...
	return targets ; } ;

function firePattern_fireForEffect( col, row, mode ){
	... (snip) ...
	return targets ; } ;

export {
	getRandomInteger, 
	firePattern_square, 
	firePattern_X, 
	firePattern_crossHairs, 
	firePattern_diagonalRight, 
	firePattern_diagonalLeft, 
	firePattern_barsHorizontal, 
	firePattern_barsVertical, 
	firePattern_onTargRand, 
	firePattern_fireForEffect 
} ;

Could I ask for confirmation from at least 3 individuals who can confirm that they have personally used/applied the above structure successfully that it is indeed well-formed ?

P.S. If I can't figure the usage of local files as I expect to, I may have to kludge it by creating a script to build a monolithic JavaScript file that merges all the individual JavaScript files and modules together as one. :frowning: