Added .getAxis documentation
Added window check so module still works on the server;