played with javascript tests