Stand-alone javascript routing library