adding way point js
test