javascript bank homework