testing some javascript stuff