commenting out JS preview approach