Wrapper fixed

Nothin' much, just an issue in the js