Bootstrap, fixed compare function, routing now working