JavaScript object Constructor and Module Pattern.