change of assigning default value (this shit better be resolved in ECMA6 :)