added javascript array examples
added bind implementation