Fix bugs and enhance logic behind behaviours relating to modules ( links, deletions, access ).
Comment added to Javascript
Correct comment