JavaScript: Simple Get Checked Array