Added Constraints.js. Still need 'SizeOf' in JS