router variable changed to static

...places than JAPI itself (we usually don't have the instance of JAPI to call the non-static method)