Wrapped all js in a Thenmap-class