Javascript Constructors -homework