created rectangle.o.js

new Object for javascript Rectangle()
value check on Rectangle