sep out our nimbusbase js code