Add no trailing slash to prefix in advance.

This is already managed inside the subrouter constructor.
IE < 9 don't support accessing a string as an array.

Switched to string charAt and substr method.
IE < 9 will reloop over new index in a hash.

As so, create a temporary routes hash, and completely replace
this.routes with it after the loop has ran.