update to try to compile to JS