annotated threeJS files, fixed argument passing

threeJS imageInit function refactored to accept correct args.