fix js error when evaluation $scope.size , some minor html fixes

Reviewer: Dan V.