attempting nice js