making js nice