Fixed typo in alloy.js