JS Applications homework and preparation