ViewScope bug fix in CamlJs