Changed to JS compiled mode