refined js boxes