refixes #35 to account for checkbox questions.

Accounts for checkbox questions since they're arrays of strings.
ammar removed unused js stuff