Tests Javascript