update on post: javascript array tricks