IWagendas: Fixed javascript loading in blocks