yate, javascript routing