basic javaScript test for routing