possibly abandoning JS in favor of PHP for recommendations