Changed javascript and css code

The pathway is now all displayed and also the action butoons are
displayed and working.