draft repair of shift and unshift


git-svn-id: http://es-lab.googlecode.com/svn/trunk@875 aeea10e6-ec39-11de-83d8-6d5adf01d787