Use double quotes consistently in javascript code