No need to attach the java moss but it's a good idea to keep it away from the gravel. A free floating java moss eventually settles up on the bottom and attaches to the gravel. The area between the plant and the gravel accumulates a lot of dirt.
--Nikolay
--Nikolay