Move processing to JS from PHP