 	code += stringObjectChildren obj
 	code += stringAttributes obj
 	code += stringFunctions obj
-	code += "});"
+	code += "});\n"
 	code
 
 module.exports = (file, filename) ->


	idsKeys = Object.keys ids

	code += "var mainItem;\n"
	for elem in elems
		if elem.type is OBJECT

			elem.unshift "'this'"
		else if id is 'this'
			elem[0] = "'this'"
		else if (id is 'view' or ids.hasOwnProperty(id)) and (i is 0 or binding[i-1][binding[i-1].length - 1] isnt '.')
			continue
		else
			binding[i] = elem.join '.'
