[#11] Fix JavaScript syntax