[Check Button] fixed issue with getting JS representation of module