Navigation adjustment api/js

Signed-off-by: Lars Johansson <newmedia@xs4all.nl>