[javascript] How to quickly test some javascript code?