debugged push vs unshift bug and 0 == false bugs