Remove use of the Array.clear method as it comes from prototype.js
Remove use of the Array.clear method as it comes from prototype.js

jpajuelo/wirecloud,rockneurotiko/wirecloud,jpajuelo/wirecloud,jpajuelo/wirecloud,rockneurotiko/wirecloud,jpajuelo/wirecloud,rockneurotiko/wirecloud,rockneurotiko/wirecloud