updated carousel_v.js to match Andrew's change from toInt to toInteger