Checkout this link on Stack Overflow if you want more advanced control of loading textures that were exported from a 3D package.
Model or load the object you want to view in Maya.
You may need to load the objExport plugin by going to Window Settings/Preferences Plug-in Manager and selecting the objExport.bundle
Export the model as an Wavefront OBJ file. This will create a .obj file and a .mtl file. I found that objects that were scaled negatively didn't export well (even if history was deleted). I have only tested this with simple UV Mapped textures and Lambert materials.
Run the three.js obj converter Python script on the exported file by using this syntax. The -i argument is your input .obj file and the -o argument is the desired filename for the output file.
Change line 71 to reference your model. The arguments that are passed to the createScene constructor define the x, y, z, scale and texture properties of the model.
Change line 72 to reference your model. This line references the output from the three.js converter used in step 4.
Save this file as index.html and make sure three.min.js, your model's .js and your model's texture map are all in the same directory.
Load the index.html file in Google Chrome or Mozilla Firefox. Here's an example.