javascript hw and jsproject v 0.5