Create js dots