modified cookie method to not use argument object, added correct dojo.cookie method